package com.wwp.tbshop.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by user on 2017/6/17.
 */

public class OrderTimeFormatter {
    public static String format(String time){
        String pattern = "yyyy年MM月dd日 HH时mm分ss秒";
        SimpleDateFormat sdf = new SimpleDateFormat(pattern);
        Date d = new Date(Long.parseLong(time));
        return sdf.format(d);
    }
}
